import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import VueI18n from 'vue-i18n';
import uView from 'uview-ui'
Vue.use(uView)
// 如此配置即可
Vue.use(VueI18n);

const messages = {
	english: {
		shape_generator: [{
				name: "Speed",
				value: 10,
				min: 1,
				max: 30,
				step: 1
			},
			{
				name: "The size of the graphic",
				value: 25,
				min: 5,
				max: 100,
				step: 5
			},
			{
				name: "Probability of triangle appearance",
				value: 0,
				min: 0,
				max: 100,
				step: 5
			},
			{
				name: "Distance between graphics front and back",
				value: 60,
				min: 30,
				max: 200,
				step: 5
			},
			{
				name: "The graphic's left-right distance (left wide, right tight)",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		sinWave: [{
				name: "Speed",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "The thickness of the lines",
				value: 60,
				min: 30,
				max: 300,
				step: 10
			},
			{
				name: "The degree of line compression",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "The amplitude of the lines",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		curve: [{
			name: "Speed",
			value: 30,
			min: 20,
			max: 60,
			step: 5
		}],
		xDistance: [{
				name: "Line Width",
				value: 10,
				min: 1,
				max: 50,
				step: 1
			},
			{
				name: "X Interval",
				value: 200,
				min: 100,
				max: 540,
				step: 5
			},
			// ArUco_up_margin 20-500，步长10
			// ArUco_bottom_margin 20-800，步长10
			// ArUco_lr_margin 20-200，步长10
			{
				name: "ArUco Up Margin",
				value: 30,
				min: 20,
				max: 500,
				step: 10
			},
			{
				name: "ArUco Bottom Margin",
				value: 30,
				min: 20,
				max: 800,
				step: 10
			},
			{
				name: "ArUco Lr Margin",
				value: 30,
				min: 20,
				max: 200,
				step: 10
			},
		],
		cWave: [{
				name: "Speed",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "The degree of line compression",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "The amplitude of the lines",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		Slalom: [{
				name: "Speed",
				value: 10,
				min: 1,
				max: 25,
				step: 1
			},
			{
				name: "The width of the shape",
				value: 25,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "The height of the shape",
				value: 10,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "Distance between graphics front and back",
				value: 60,
				min: 60,
				max: 300,
				step: 5
			},
			{
				name: "The graphic's left-right distance (left wide, right tight)",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		parallelTurn: [{
			name: "Frame Rate",
			value: 60,
			min: 25,
			max: 80,
			step: 1
		}, ],
		buttonText: {
			projection: "Projection",
			home: "Home",
			language: "Language",
			AI: "AI Score",
			Controlterminalupdate: "Control Terminal Update",
			Projectionterminalupdate: "Projection Terminal Update",
			Modifycommunicationaddress: "Modify Address",
			Start: "Start",
			Pause: "Pause",
			End: "End",
			Restartprojectionterminalapp: "Restart App",
			Projectionterminalshutdown: "Projection Shutdown",
			CommunicationIP: "Communication IP",
			CommunicationPort: "Communication Port",
			screenSet: "Screen Settings",
			waveNum1: "type 1",
			waveNum2: "type 2",
			scanCodeIp: "Scan the QR code",
			next_step: "Next step",
			settings: "Settings",
			turn_on_the_computer: "Turn on the computer",
			
			save_to_sql: "Save the scheme to the database",
			save_plan_name: "Save the scheme name",
			save: "Save",
			del_all_plan:"delete all plan"
			
			
		},
		textContent: {
			animationSelection: "Animation Selection",
			Linecolor: "Line Color",
			Color: "Color",
			lrReverse: "Lr Reverse",
			Turnonblacklines: "Turn On Black Lines",
			Turnonblackbackground: "Turn On Black Background",
			LineAdjustment: "Line Adjustment",
			Randomlygeneratestart: "Randomly Generate Start",
			Parameteradjustment: "Parameter Adjustment",
			CommunicationIP: "Communication IP",
			CommunicationPort: "Communication Port",
			isReverse: "Is Reverse",
			timing: "Timing",
			isFlipped: "Is Flipped",
			showLogo: "Show Logo",
			bgDisplay: "Background Image Display",
			waveNum: "Line Type",
			// frameRate: "Frame Rate",
			showScore: "Show Score",
			showArUco: "Show ArUco",
			// 首页新增加
			terminalTittle: "Ski Projection Control Terminal",
			step1: "Step 1",
			step2: "Step 2",
			long_context: "Please manually start the projector using the touch controller and wait for the projector to start before proceeding to the next step.",

		}
	},
	chinese: {
		shape_generator: [{
				name: "速度",
				value: 1,
				min: 1,
				max: 30,
				step: 1
			},
			{
				name: "图形大小",
				value: 5,
				min: 5,
				max: 100,
				step: 5
			},
			{
				name: "三角形出现概率",
				value: 0,
				min: 0,
				max: 100,
				step: 5
			},
			{
				name: "图形前后距离",
				value: 30,
				min: 30,
				max: 200,
				step: 5
			},
			{
				name: "图形左右距离(左宽右紧)",
				value: 10,
				min: 10,
				max: 50,
				step: 1
			}
		],
		sinWave: [{
				name: "速度",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "线条粗细",
				value: 60,
				min: 30,
				max: 300,
				step: 10
			},
			{
				name: "线条压缩程度",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "线条振幅",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		curve: [{
			name: "帧率",
			value: 30,
			min: 20,
			max: 60,
			step: 5
		}],
		xDistance: [{
				name: "线宽",
				value: 10,
				min: 1,
				max: 50,
				step: 1
			},
			{
				name: "间隔",
				value: 200,
				min: 100,
				max: 540,
				step: 5
			},
			{
				name: "ArUco Up Margin",
				value: 30,
				min: 20,
				max: 500,
				step: 10
			},
			{
				name: "ArUco Bottom Margin",
				value: 30,
				min: 20,
				max: 800,
				step: 10
			},
			{
				name: "ArUco Lr Margin",
				value: 30,
				min: 20,
				max: 200,
				step: 10
			},
		],
		cWave: [{
				name: "速度",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "线条压缩程度",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "线条振幅",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		Slalom: [{
				name: "速度",
				value: 10,
				min: 1,
				max: 25,
				step: 1
			},
			{
				name: "长方形的宽",
				value: 25,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "长方形的高",
				value: 20,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "图形前后距离",
				value: 60,
				min: 60,
				max: 300,
				step: 5
			},
			{
				name: "图形左右距离（左宽右紧）",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		parallelTurn: [{
			name: "帧率",
			value: 60,
			min: 25,
			max: 80,
			step: 1
		}, ],
		buttonText: {
			projection: "投影",
			home: "首页",
			language: "语言",
			AI: "AI评分",
			Controlterminalupdate: "控制端更新",
			Projectionterminalupdate: "投影端更新",
			Modifycommunicationaddress: "修改通讯地址",
			Start: "开始",
			Pause: "暂停",
			End: "结束",
			Restartprojectionterminalapp: "重启投影端app",
			Projectionterminalshutdown: "投影端关机",
			CommunicationIP: "通讯ip",
			CommunicationPort: "通讯端口",
			screenSet: "屏幕设定",
			waveNum1: "类型1",
			waveNum2: "类型2",
			scanCodeIp: "扫码修改IP",
			next_step: "下一步",
			settings: "设置",
			turn_on_the_computer: "开启电脑",
			save_to_sql:"保存方案到数据库",
			save_plan_name:"保存方案名称",
			save:"保存",
			del_all_plan:"删除所有方案",
			

		},
		textContent: {
			animationSelection: "投影动画选择",
			Linecolor: "线条颜色",
			Color: "颜色",
			lrReverse: "左右翻转",
			Turnonblacklines: "线条是否黑色",
			Turnonblackbackground: "背景是否黑色",
			LineAdjustment: "线路调整",
			Randomlygeneratestart: "随机生成开启",
			Parameteradjustment: "参数调整",
			CommunicationIP: "通讯ip",
			CommunicationPort: "通讯端口",
			isReverse: "画面翻转",
			timing: "计时器",
			isFlipped: "左右翻转",
			showLogo: "显示logo",
			bgDisplay: "背景图片显示",
			waveNum: "线条类型",
			// frameRate: "Frame Rate",
			showScore: "Show Score",
			showArUco: "Show ArUco",
			// 首页新增加
			terminalTittle: "滑雪投影控制终端",
			step1: "步骤1",
			step2: "步骤2",
			long_context: "请先使用触控器手动启动投影仪，并等待投影仪是否开启进入下一步",


		}
	},
	kazakh: {
		shape_generator: [{
				name: "Жылдамдық",
				value: 10,
				min: 1,
				max: 30,
				step: 1
			},
			{
				name: "Графиктің өлшемі",
				value: 25,
				min: 5,
				max: 100,
				step: 5
			},
			{
				name: "Үшбұрыштың пайда болу ықтималдығы",
				value: 0,
				min: 0,
				max: 100,
				step: 5
			},
			{
				name: "Графиктердің алдыңғы және артқы арасындағы қашықтық",
				value: 60,
				min: 30,
				max: 200,
				step: 5
			},
			{
				name: "Графиктің солдан оңға қашықтығы (сол кең, оң тығыз)",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		sinWave: [{
				name: "Жылдамдық",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "Сызықтардың қалыңдығы",
				value: 60,
				min: 30,
				max: 300,
				step: 10
			},
			{
				name: "Сызықтың сығылу дәрежесі",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "Сызықтардың амплитудасы",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		curve: [{
			name: "Жылдамдық",
			value: 30,
			min: 20,
			max: 60,
			step: 5
		}],
		xDistance: [{
				name: "Сызық ені",
				value: 10,
				min: 1,
				max: 50,
				step: 1
			},
			{
				name: "X аралығы",
				value: 200,
				min: 100,
				max: 540,
				step: 5
			},
			{
				name: "ArUco Up Margin",
				value: 30,
				min: 20,
				max: 500,
				step: 10
			},
			{
				name: "ArUco Bottom Margin",
				value: 30,
				min: 20,
				max: 800,
				step: 10
			},
			{
				name: "ArUco Lr Margin",
				value: 30,
				min: 20,
				max: 200,
				step: 10
			},
		],
		cWave: [{
				name: "Жылдамдық",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "Сызықтың сығылу дәрежесі",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "Сызықтардың амплитудасы",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		Slalom: [{
				name: "Жылдамдық",
				value: 10,
				min: 1,
				max: 25,
				step: 1
			},
			{
				name: "Пішіннің ені",
				value: 25,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "Пішіннің биіктігі",
				value: 20,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "Графиканың алдыңғы және артқы аралығы",
				value: 60,
				min: 60,
				max: 300,
				step: 5
			},
			{
				name: "Графиканың солдан оңға қарай аралығы (сол жағы кең, оң жағы тар)",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		parallelTurn: [{
			name: "kazakh",
			value: 60,
			min: 25,
			max: 80,
			step: 1
		}, ],
		buttonText: {
			projection: "Проекция",
			home: "Үй",
			language: "Тіл",
			AI: "AI bagalau",
			Controlterminalupdate: "Басқару терминалын жаңарту",
			Projectionterminalupdate: "Проекция терминалын жаңарту",
			Modifycommunicationaddress: "Мекенжайды өзгерту",
			Start: "Бастау",
			Pause: "Тоқтату",
			End: "Аяқтау",
			Restartprojectionterminalapp: "Қосымшаны қайта іске қосу",
			Projectionterminalshutdown: "Проекция терминалын өшіру",
			CommunicationIP: "Қарым-қатынас IP",
			CommunicationPort: "Қарым-қатынас порты",
			screenSet: "Экран параметрлері",
			waveNum1: "Түрі 1",
			waveNum2: "Түрі 2",
			scanCodeIp: "Scan the QR code",
			next_step: "Next step",
			settings: "Settings",
			turn_on_the_computer: "Turn on the computer",
			save_to_sql: "Save the scheme to the database",
			save_plan_name: "Save the scheme name",
			save: "Save",
			del_all_plan:"delete all plan"
		},
		textContent: {
			animationSelection: "Анимация таңдау",
			Linecolor: "Сызық түсі",
			Color: "Түс",
			lrReverse: "Солға және оңға кері",
			Turnonblacklines: "Қара сызықтарды қосу",
			Turnonblackbackground: "Қара фонды қосу",
			LineAdjustment: "Сызық реттеу",
			Randomlygeneratestart: "Кездейсоқ генерацияны бастау",
			Parameteradjustment: "Параметрлерді реттеу",
			CommunicationIP: "Қарым-қатынас IP",
			CommunicationPort: "Қарым-қатынас порты",
			isReverse: "Кері бағытта",
			timing: "Уақыт",
			isFlipped: "аударылған ба",
			showLogo: "логотипті көрсету",
			bgDisplay: "Фон суретін көрсету",
			waveNum: "Сызық түрі",
			showScore: "Show Score",
			showArUco: "Show ArUco",
			// 首页新增加
			terminalTittle: "Ski Projection Control Terminal",
			step1: "Step 1",
			step2: "Step 2",
			long_context: "Please manually start the projector using the touch controller and wait for the projector to start before proceeding to the next step.",


		}
	},
	russian: {
		shape_generator: [{
				name: "Скорость",
				value: 10,
				min: 1,
				max: 30,
				step: 1
			},
			{
				name: "Размер графики",
				value: 25,
				min: 5,
				max: 100,
				step: 5
			},
			{
				name: "Вероятность появления треугольника",
				value: 0,
				min: 0,
				max: 100,
				step: 5
			},
			{
				name: "Расстояние между графиками спереди и сзади",
				value: 60,
				min: 30,
				max: 200,
				step: 5
			},
			{
				name: "Расстояние слева направо графика (слева широко, справа плотно)",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		sinWave: [{
				name: "Скорость",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "Толщина линий",
				value: 60,
				min: 30,
				max: 300,
				step: 10
			},
			{
				name: "Степень сжатия линии",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "Амплитуда линий",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		curve: [{
			name: "Скорость",
			value: 30,
			min: 20,
			max: 60,
			step: 5
		}],
		xDistance: [{
				name: "Ширина линии",
				value: 10,
				min: 1,
				max: 50,
				step: 1
			},
			{
				name: "X интервал",
				value: 200,
				min: 100,
				max: 540,
				step: 5
			},
			{
				name: "ArUco Up Margin",
				value: 30,
				min: 20,
				max: 500,
				step: 10
			},
			{
				name: "ArUco Bottom Margin",
				value: 30,
				min: 20,
				max: 800,
				step: 10
			},
			{
				name: "ArUco Lr Margin",
				value: 30,
				min: 20,
				max: 200,
				step: 10
			},
		],
		cWave: [{
				name: "Скорость",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},

			{
				name: "Степень сжатия линии",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "Амплитуда линий",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		Slalom: [{
				name: "Скорость",
				value: 10,
				min: 1,
				max: 25,
				step: 1
			},
			{
				name: "Ширина формы",
				value: 25,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "Высота формы",
				value: 20,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "Расстояние между графиками спереди и сзади",
				value: 60,
				min: 60,
				max: 300,
				step: 5
			},
			{
				name: "Расстояние графики слева-направо (слева широко, справа узко)",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		parallelTurn: [{
			name: "Частота кадров",
			value: 60,
			min: 25,
			max: 80,
			step: 1
		}, ],
		buttonText: {
			projection: "Проекция",
			home: "Дом",
			language: "Язык",
			AI: "AI оценка",
			Controlterminalupdate: "Обновление контрольного терминала",
			Projectionterminalupdate: "Обновление проекционного терминала",
			Modifycommunicationaddress: "Изменить адрес",
			Start: "Начать",
			Pause: "Пауза",
			End: "Конец",
			Restartprojectionterminalapp: "Перезапуск приложения",
			Projectionterminalshutdown: "Отключение проекционного терминала",
			CommunicationIP: "IP связи",
			CommunicationPort: "Порт связи",
			screenSet: "Настройки экрана",
			waveNum1: "Тип 1",
			waveNum2: "Тип 2",
			scanCodeIp: "Scan the QR code",
			next_step: "Next step",
			settings: "Settings",
			turn_on_the_computer: "Turn on the computer",
			save_to_sql: "Save the scheme to the database",
			save_plan_name: "Save the scheme name",
			save: "Save",
			del_all_plan:"delete all plan"
		},
		textContent: {
			animationSelection: "Выбор анимации",
			Linecolor: "Цвет линии",
			Color: "Цвет",
			lrReverse: "Лево-право обратное",
			Turnonblacklines: "Включить черные линии",
			Turnonblackbackground: "Включить черный фон",
			LineAdjustment: "Настройка линии",
			Randomlygeneratestart: "Случайное начало",
			Parameteradjustment: "Настройка параметров",
			CommunicationIP: "IP связи",
			CommunicationPort: "Порт связи",
			isReverse: "Обратное",
			timing: "Время",
			isFlipped: "перевернуто",
			showLogo: "показать логотип",
			bgDisplay: "Фон суретін көрсету",
			waveNum: "Тип линии",
			showScore: "Show Score",
			showArUco: "Show ArUco",
			// 首页新增加
			terminalTittle: "Ski Projection Control Terminal",
			step1: "Step 1",
			step2: "Step 2",
			long_context: "Please manually start the projector using the touch controller and wait for the projector to start before proceeding to the next step.",

		}
	},
	japanese: {
		shape_generator: [{
				name: "速度",
				value: 10,
				min: 1,
				max: 30,
				step: 1
			},
			{
				name: "グラフィックのサイズ",
				value: 25,
				min: 5,
				max: 100,
				step: 5
			},
			{
				name: "三角形の出現確率",
				value: 0,
				min: 0,
				max: 100,
				step: 5
			},
			{
				name: "グラフィックの前後の距離",
				value: 60,
				min: 30,
				max: 200,
				step: 5
			},
			{
				name: "グラフィックの左右の距離（左広右狭）",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		sinWave: [{
				name: "速度",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "ラインの厚さ",
				value: 60,
				min: 30,
				max: 300,
				step: 10
			},
			{
				name: "ライン圧縮度",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "ラインの振幅",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		curve: [{
			name: "速度",
			value: 30,
			min: 20,
			max: 60,
			step: 5
		}],
		xDistance: [{
				name: "ライン幅",
				value: 10,
				min: 1,
				max: 50,
				step: 1
			},
			{
				name: "X間隔",
				value: 200,
				min: 100,
				max: 540,
				step: 5
			},
			{
				name: "ArUco Up Margin",
				value: 30,
				min: 20,
				max: 500,
				step: 10
			},
			{
				name: "ArUco Bottom Margin",
				value: 30,
				min: 20,
				max: 800,
				step: 10
			},
			{
				name: "ArUco Lr Margin",
				value: 30,
				min: 20,
				max: 200,
				step: 10
			},
		],
		cWave: [{
				name: "速度",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "ライン圧縮度",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "ラインの振幅",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		Slalom: [{
				name: "速度",
				value: 10,
				min: 1,
				max: 25,
				step: 1
			},
			{
				name: "形の幅",
				value: 25,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "形の高さ",
				value: 30,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "グラフィックの前後の距離",
				value: 60,
				min: 60,
				max: 300,
				step: 5
			},
			{
				name: "グラフィックの左右の距離 (左広く、右狭い)",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		parallelTurn: [{
			name: "フレームレート",
			value: 60,
			min: 25,
			max: 80,
			step: 1
		}, ],
		buttonText: {
			projection: "プロジェクション",
			home: "ホーム",
			language: "言語",
			AI: "AIスコア",
			Controlterminalupdate: "コントロール端末の更新",
			Projectionterminalupdate: "プロジェクション端末の更新",
			Modifycommunicationaddress: "アドレスの変更",
			Start: "開始",
			Pause: "一時停止",
			End: "終了",
			Restartprojectionterminalapp: "アプリを再起動",
			Projectionterminalshutdown: "プロジェクション端末のシャットダウン",
			CommunicationIP: "通信IP",
			CommunicationPort: "通信ポート",
			screenSet: "画面設定",
			waveNum1: "種類 1",
			waveNum2: "種類 2",
			scanCodeIp: "Scan the QR code",
			next_step: "Next step",
			settings: "Settings",
			turn_on_the_computer: "Turn on the computer",
			save_to_sql: "Save the scheme to the database",
			save_plan_name: "Save the scheme name",
			save: "Save",
			del_all_plan:"delete all plan"
		},
		textContent: {
			animationSelection: "アニメーションの選択",
			Linecolor: "ラインカラー",
			Color: "色",
			lrReverse: "左右逆転",
			Turnonblacklines: "黒線をオンにする",
			Turnonblackbackground: "黒い背景をオンにする",
			LineAdjustment: "ライン調整",
			Randomlygeneratestart: "ランダム生成開始",
			Parameteradjustment: "パラメーター調整",
			CommunicationIP: "通信IP",
			CommunicationPort: "通信ポート",
			isReverse: "反転",
			timing: "タイミング",
			isFlipped: "反転",
			showLogo: "ロゴを表示",
			bgDisplay: "背景画像の表示",
			waveNum: "線の種類",
			showScore: "Show Score",
			showArUco: "Show ArUco",
			// 首页新增加
			terminalTittle: "Ski Projection Control Terminal",
			step1: "Step 1",
			step2: "Step 2",
			long_context: "Please manually start the projector using the touch controller and wait for the projector to start before proceeding to the next step.",

		}
	},
	spanish: {
		buttonText: {
			projection: "Proyección",
			home: "Inicio",
			language: "Idioma",
			AI: "Puntuación AI",
			Controlterminalupdate: "Actualización del Terminal de Control",
			Projectionterminalupdate: "Actualización del Terminal de Proyección",
			Modifycommunicationaddress: "Modificar Dirección",
			Start: "Comenzar",
			Pause: "Pausa",
			End: "Finalizar",
			Restartprojectionterminalapp: "Reiniciar App",
			Projectionterminalshutdown: "Apagar Proyección",
			CommunicationIP: "IP de Comunicación",
			CommunicationPort: "Puerto de Comunicación",
			screenSet: "Configuración de Pantalla",
			waveNum1: "Tipo 1",
			waveNum2: "Tipo 2",
			scanCodeIp: "Scan the QR code",
			next_step: "Next step",
			settings: "Settings",
			turn_on_the_computer: "Turn on the computer",
			save_to_sql: "Save the scheme to the database",
			save_plan_name: "Save the scheme name",
			save: "Save",
			del_all_plan:"delete all plan"
		},
		textContent: {
			animationSelection: "Selección de Animación",
			Linecolor: "Color de la Línea",
			Color: "Color",
			lrReverse: "Invertir LR",
			Turnonblacklines: "Activar Líneas Negras",
			Turnonblackbackground: "Activar Fondo Negro",
			LineAdjustment: "Ajuste de Línea",
			Randomlygeneratestart: "Generar Aleatoriamente",
			Parameteradjustment: "Ajuste de Parámetros",
			CommunicationIP: "IP de Comunicación",
			CommunicationPort: "Puerto de Comunicación",
			isReverse: "Es Inverso",
			timing: "Sincronización",
			isFlipped: "está volteado",
			showLogo: "mostrar el logotipo",
			bgDisplay: "Visualización de imagen de fondo",
			waveNum: "Tipo de línea",
			showScore: "Show Score",
			showArUco: "Show ArUco",
			// 首页新增加
			terminalTittle: "Ski Projection Control Terminal",
			step1: "Step 1",
			step2: "Step 2",
			long_context: "Please manually start the projector using the touch controller and wait for the projector to start before proceeding to the next step.",

		},
		shape_generator: [{
				name: "Velocidad",
				value: 10,
				min: 1,
				max: 30,
				step: 1
			},
			{
				name: "Tamaño del gráfico",
				value: 25,
				min: 5,
				max: 100,
				step: 5
			},
			{
				name: "Probabilidad de aparición de triángulos",
				value: 0,
				min: 0,
				max: 100,
				step: 5
			},
			{
				name: "Distancia entre gráficos adelante y atrás",
				value: 60,
				min: 60,
				max: 300,
				step: 5
			},
			{
				name: "Distancia izquierda-derecha del gráfico (izquierda amplia, derecha estrecha)",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		sinWave: [{
				name: "Velocidad",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "Grosor de las líneas",
				value: 60,
				min: 30,
				max: 300,
				step: 10
			},
			{
				name: "Grado de compresión de líneas",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "Amplitud de las líneas",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		curve: [{
			name: "Velocidad",
			value: 30,
			min: 20,
			max: 60,
			step: 5
		}],
		xDistance: [{
				name: "Ancho de línea",
				value: 10,
				min: 1,
				max: 50,
				step: 1
			},
			{
				name: "Intervalo X",
				value: 200,
				min: 100,
				max: 540,
				step: 5
			},
			{
				name: "ArUco Up Margin",
				value: 30,
				min: 20,
				max: 500,
				step: 10
			},
			{
				name: "ArUco Bottom Margin",
				value: 30,
				min: 20,
				max: 800,
				step: 10
			},
			{
				name: "ArUco Lr Margin",
				value: 30,
				min: 20,
				max: 200,
				step: 10
			},
		],
		cWave: [{
				name: "Velocidad",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "Grado de compresión de líneas",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "Amplitud de las líneas",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		Slalom: [{
				name: "Velocidad",
				value: 10,
				min: 1,
				max: 25,
				step: 1
			},
			{
				name: "Ancho de la forma",
				value: 25,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "Altura de la forma",
				value: 20,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "Distancia entre gráficos de adelante hacia atrás",
				value: 60,
				min: 30,
				max: 200,
				step: 5
			},
			{
				name: "Distancia izquierda-derecha del gráfico",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		parallelTurn: [{
			name: "Tasa de fotogramas",
			value: 60,
			min: 25,
			max: 80,
			step: 1
		}, ],

	},
	korean: {
		buttonText: {
			projection: "투영",
			home: "홈",
			language: "언어",
			AI: "AI 점수",
			Controlterminalupdate: "제어 터미널 업데이트",
			Projectionterminalupdate: "프로젝션 터미널 업데이트",
			Modifycommunicationaddress: "주소 수정",
			Start: "시작",
			Pause: "일시 정지",
			End: "종료",
			Restartprojectionterminalapp: "앱 재시작",
			Projectionterminalshutdown: "프로젝션 종료",
			CommunicationIP: "통신 IP",
			CommunicationPort: "통신 포트",
			screenSet: "화면 설정",
			waveNum1: "유형 1",
			waveNum2: "유형 2",
			scanCodeIp: "Scan the QR code",
			next_step: "Next step",
			settings: "Settings",
			turn_on_the_computer: "Turn on the computer",
			save_to_sql: "Save the scheme to the database",
			save_plan_name: "Save the scheme name",
			save: "Save",
			del_all_plan:"delete all plan"
		},
		textContent: {
			animationSelection: "애니메이션 선택",
			Linecolor: "라인 색상",
			Color: "색상",
			lrReverse: "좌우 반전",
			Turnonblacklines: "검은 선 켜기",
			Turnonblackbackground: "검은 배경 켜기",
			LineAdjustment: "라인 조정",
			Randomlygeneratestart: "랜덤 생성 시작",
			Parameteradjustment: "매개 변수 조정",
			CommunicationIP: "통신 IP",
			CommunicationPort: "통신 포트",
			isReverse: "반전 여부",
			timing: "타이밍",
			isFlipped: "뒤집혔나요",
			showLogo: "로고 보여주기",
			bgDisplay: "배경 이미지 표시",
			waveNum: "선 종류",
			showScore: "Show Score",
			showArUco: "Show ArUco",
			// 首页新增加
			terminalTittle: "Ski Projection Control Terminal",
			step1: "Step 1",
			step2: "Step 2",
			long_context: "Please manually start the projector using the touch controller and wait for the projector to start before proceeding to the next step.",

		},
		shape_generator: [{
				name: "속도",
				value: 10,
				min: 1,
				max: 30,
				step: 1
			},
			{
				name: "그래픽 크기",
				value: 25,
				min: 5,
				max: 100,
				step: 5
			},
			{
				name: "삼각형 등장 확률",
				value: 0,
				min: 0,
				max: 100,
				step: 5
			},
			{
				name: "앞뒤 그래픽 사이 거리",
				value: 60,
				min: 30,
				max: 200,
				step: 5
			},
			{
				name: "그래픽 좌우 거리 (왼쪽 넓고 오른쪽 좁음)",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		sinWave: [{
				name: "속도",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},
			{
				name: "선의 두께",
				value: 60,
				min: 30,
				max: 300,
				step: 10
			},
			{
				name: "선 압축 정도",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "선의 진폭",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		curve: [{
			name: "속도",
			value: 30,
			min: 20,
			max: 60,
			step: 5
		}],
		xDistance: [{
				name: "선 너비",
				value: 10,
				min: 1,
				max: 50,
				step: 1
			},
			{
				name: "X 간격",
				value: 200,
				min: 100,
				max: 540,
				step: 5
			},
			{
				name: "ArUco Up Margin",
				value: 30,
				min: 20,
				max: 500,
				step: 10
			},
			{
				name: "ArUco Bottom Margin",
				value: 30,
				min: 20,
				max: 800,
				step: 10
			},
			{
				name: "ArUco Lr Margin",
				value: 30,
				min: 20,
				max: 200,
				step: 10
			},
		],
		cWave: [{
				name: "속도",
				value: 6.5,
				min: 1,
				max: 30,
				step: 0.5
			},

			{
				name: "선 압축 정도",
				value: 0.004,
				min: 0.002,
				max: 0.006,
				step: 0.00005
			},
			{
				name: "선의 진폭",
				value: 420,
				min: 200,
				max: 480,
				step: 20
			}
		],
		Slalom: [{
				name: "속도",
				value: 10,
				min: 1,
				max: 25,
				step: 1
			},
			{
				name: "모양의 너비",
				value: 25,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "모양의 높이",
				value: 20,
				min: 10,
				max: 300,
				step: 5
			},
			{
				name: "앞뒤 그래픽 간 거리",
				value: 60,
				min: 60,
				max: 300,
				step: 5
			},
			{
				name: "그래픽의 좌우 거리 (왼쪽 넓게, 오른쪽 좁게)",
				value: 20,
				min: 10,
				max: 50,
				step: 1
			}
		],
		parallelTurn: [{
			name: "프레임 속도",
			value: 60,
			min: 25,
			max: 80,
			step: 1
		}, ],
	}
};

const i18n = new VueI18n({
	locale: uni.getStorageSync('selectedLanguage') || 'chinese', // 设置默认语言
	messages,
});
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	i18n,
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif